{
      "configuration": {
        "host" : "localhost",
        "port" : 9000,
        "endpoint": "paraview",
        "proxy_file" : "{{proxy_db_path}}",
        "sessionURL" : "ws://{{ hostname }}:{{port|default(80)}}/proxy?sessionId=${id}&path=ws",
        "timeout" : 10,
        "log_dir" : "/var/log/paraview/",
        "fields" : ["host", "port"]
      },

      "resources" : [ { "host" : "localhost", "port_range" : [9001, 9999] } ],

      "properties" : {
        "python_exec" : "/opt/paraview/bin/pvpython",
        "visualizer" : "{{paraview_versioned_shared_directory}}/web/visualizer/server/pvw-visualizer.py",
        "data_dir": "/home/{{pvw_user}}/data/ParaViewData/Data",
        "lightviz" : "{{paraview_versioned_shared_directory}}/web/lightviz/server/pvw-light-viz.py",
        "lightviz_data": "/home/{{pvw_user}}/data/LightVizDatasets"
      },

      "apps" : {
        "visualizer": {
          "cmd" : [
            "${python_exec}", "${visualizer}",
            "--port", "${port}",
            "--data-dir", "${data_dir}"
            {{ ', "--mesa-llvm"' if virtualbox or not gpu else '' }}
          ],
          "ready_line" : "Starting factory"
        },
        "lightviz": {
          "cmd" : [
            "${python_exec}", "${lightviz}",
            "--port", "${port}",
            "--data", "${data_dir}"
            {{ ', "--mesa-llvm"' if virtualbox or not gpu else '' }}
          ],
          "ready_line" : "Starting factory"
        }
     }
}

